#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
This code sorts and takes absolute value of a list.
'''
def foo(list):
	sorted_abs_list = sorted(list, key=abs)
	return sorted_abs_list

list = input("Lutfen [ ] seklinde integer degerler iceren bir liste giriniz:")
sorted_abs_list = foo(list)
print sorted_abs_list
